public class Main {
    public static void main(String[] args) {
        for(int a=100;a<=200;a++){
            if(a%3==0){
                System.out.println(a);
                break;
            }
        }
    }
}
